package cn.tedu.hotel_management_system.base.json_result;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * @author dkk
 * @date 2022/8/31
 * @desc 返回列表数据封装json
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ResultDataDto<T> extends ResultDto<T> {

    private static final long serialVersionUID = 5586393890063046724L;

    // 列表数据
    private List<T> dataList;

    // 总条数
    private Long total;

}
